How to Solve First Order Linear Differential Equations in Python